#ifndef CMD_INTERFACE_H_
#define CMD_INTERFACE_H_

#include "rdb_lib.h"	//modify file name "share_lib.h" 20180411 Shuhui.Li

class CmdInterface
{
	public:
		 CmdInterface();
		 CmdInterface(system_net_info *pSysInfo);
		 bool SendYkCmd(int devId,int ykId,unsigned char state,int type);
		 bool SendYtCmd(int ycId,float oldValue,float newValue,int type);
		
	private:
		bool GetYtRecord(int keyid,char yt_oper,yt_define_scada &yt_info);
	    bool  SendReportToFront(INT32 fore_machine_type, INT32 report_type, CHAR *buffer, INT32 counter);
		system_net_info *m_pSysInfo;
		unsigned char 	YT_OPER_SET;
};
#endif
